package com.alipay.sofa.award.biz.service.facade;

import com.alipay.sofa.award.common.dal.dataobject.ActivityTime;

import java.util.List;

/**
 * ActivityTimeFacade
 *
 * @author yangguanchao
 * @since 2018/08/27
 */
public interface ActivityTimeFacade {

    int insertActivityTime(ActivityTime activityTime);

    boolean insertActivityTimeWhenNoExist(ActivityTime activityTime);

    int deleteById(int id);

    int deleteByUniqueKeyActivityTime(String activityTime);

    int updateActivityTime(ActivityTime activityTime);

    int updateActivityTime(String oldActivityTime, String updatedActivityTime);

    ActivityTime queryByTime(String activityTime);

    List<ActivityTime> queryAllActivityTime();
}
